export default {
        state:{
            id:'',
            token:'',
            user:'',
            psd:''
        },
        mutations:{  
            //当前账号
            setuser(state,data){
                state.user = data  
            },
            //  当前密码
            setpsd(state,data){
                state.psd = data
            },
            //  当前账号id
            setid(state,data){
                state.id = data
            },
            //  token
            settoken(state,data){
                state.token = data
            }
        },

    }
    